<?php
class City extends AppModel {

	var $name = 'City';
	var $useDbConfig = 'users';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $hasOne = array('Profile'=>array('foreignKey'=>'city_id'));
	var $belongsTo = array(
			'Country' => array('className' => 'Country',
								'foreignKey' => 'country_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			),
			'Region' => array('className' => 'Region',
								'foreignKey' => 'region_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>
